<template>
  <!--保活模式，name相同则复用一个子应用实例，改变url无效，必须采用通信的方式告知路由变化 -->
  <WujieVue width="100%" height="100%" name="mapbox" :url="mapboxUrl" :sync="true" :alive="true"></WujieVue>
</template>

<script>
import hostMap from "../hostMap";

export default {
  name: "Mapbox",
  data() {
    return {
      mapboxUrl: hostMap("//localhost:10030/mapbox-test/"),
    };
  }
}
</script>

<style scoped>

</style>
